home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 23
/
Aminet 23 (1998)(GTI - Schatztruhe)[!][Feb 1998].iso
/
Aminet
/
util
/
boot
/
AStart33.lha
/
AStart
/
s
/
alternate-startup
Wrap
Text File
|
1996-08-19
|
2KB
|
80 lines
; $VER: alternate-startup based on startup-sequence 39.9 (9.8.92)
C:SetPatch QUIET
FailAt 21
C:SetAltMode
Makedir >NIL: RAM:Clipboards RAM:T
If `C:GetF "ENVArc:AStart_T"` NOT EQ "1"
Assign >NIL: T: RAM:T
Else
Assign >NIL: T: SYS:T
EndIf
Assign >NIL: CLIPS: RAM:Clipboards
If `C:GetF "ENVArc:AStart_ENVArc"` NOT EQ "0"
Assign ENV: ENVArc:
Else
C:Copy >NIL: ENVARC: RAM:ENV ALL NOREQ
Assign ENV: RAM:ENV
EndIf
Assign >NIL: REXX: S:
Assign >NIL: PRINTERS: DEVS:Printers
Assign >NIL: KEYMAPS: DEVS:Keymaps
Assign >NIL: LOCALE: SYS:Locale
Assign >NIL: LIBS: SYS:Classes ADD
Assign >NIL: HELP: LOCALE:Help DEFER
If `C:GetF ENVArc:AStart_DOSDrivers` EQ "1"
BindDrivers
C:Mount >NIL: DEVS:DOSDrivers/~(#?.info)
EndIf
If `C:GetF ENVArc:AStart_Monitors` EQ "1"
IF EXISTS DEVS:Monitors
IF EXISTS DEVS:Monitors/VGAOnly
DEVS:Monitors/VGAOnly
EndIF
C:List >NIL: DEVS:Monitors/~(#?.info|VGAOnly) TO T:M LFORMAT "DEVS:Monitors/%s"
Execute T:M
C:Delete >NIL: T:M
EndIF
EndIf
If `C:GetF ENVArc:AStart_CIA` EQ "1"
C:IPrefs
C:ConClip
EndIf
If `C:GetF ENVArc:AStart_DT` EQ "1"
C:AddDataTypes REFRESH QUIET
EndIf
Path >NIL: RAM: C: SYS:Utilities SYS:Rexxc SYS:System S: SYS:Prefs SYS:WBStartup SYS:Tools SYS:Tools/Commodities
Set astartusr `C:GetF ENVArc:AStart_UserStartup`
If "$astartusr" NOT EQ "0"
IF "$astartusr" NOT EQ "1"
Execute S:User-Startup
Else
IF EXISTS S:User-Startup
C:ConvertX S:User-startup T:User-startup "((# (Assign|If|EndIf|Lab|Skip|Else)#?)|(#?SAFETOEXECUTE#?))"
Execute T:User-startup
Delete T:User-Startup QUIET
EndIF
EndIf
EndIf
IF `C:GetF ENVArc:AStart_Debug` EQ "1"
C:LoadWB -debug
Else
C:LoadWB
EndIf
EndCLI >NIL: